package com.hydra.wiki.doc.exception;


import com.hydra.wiki.parameter.FarmParameterService;

/**
 * 没有读取权限异常
 *
 */
public class CanNoReadException extends Exception {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    public CanNoReadException(String message) {
        super(message);
    }

    public CanNoReadException() {
        super(FarmParameterService.getInstance().getParameter(
                "title.com.hydra.wiki.doc.exception.noread"));
    }
}
